/* 基础样式 */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 头部样式 */
.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-title {
  color: #1890ff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.login-subtitle {
  color: #666;
  font-size: 14px;
}

/* 标签页样式 */
.login-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.login-tab.active {
  color: #1890ff;
  font-weight: 500;
}

.login-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #1890ff;
  border-radius: 3px;
}

/* 表单样式 */
.login-form {
  margin-bottom: 20px;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.login-input:focus {
  border-color: #1890ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  background-color: white;
}

/* 密码输入框 */
.password-input-container {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.eye-icon:hover {
  color: #1890ff;
}

/* 手机号验证码部分 */
.phone-input-container {
  display: flex;
  gap: 10px;
}

.send-code-btn {
  background: #1890ff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  height: 48px;
}

.send-code-btn:hover {
  background: #40a9ff;
}

.send-code-btn.disabled {
  background: #f0f0f0;
  color: #999;
  cursor: not-allowed;
}

.send-code-btn.hidden {
  display: none;
}

.countdown-text {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  text-align: right;
}

/* 登录选项 */
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  color: #666;
  cursor: pointer;
}

.remember-me input {
  margin-right: 8px;
  accent-color: #1890ff;
}

.register-link {
  color: #666;
}

.register-link span {
  color: #1890ff;
  cursor: pointer;
  margin-left: 5px;
  font-weight: 500;
}

/* 登录按钮 */
.login-button {
  margin-top: 25px;
}

.login-button button {
  font-size: 16px;
  height: 48px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* 社交登录 */
.social-login {
  margin-top: 30px;
}

.divider {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #e0e0e0;
}

.divider-text {
  padding: 0 15px;
  color: #999;
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icon {
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.qq-icon {
  color: #1890ff;
}

.wechat-icon {
  color: #07C160;
}